package com.bestcem.xm.om.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 套餐信息
 *
 * @author xuan.yang <xuan.yang@idiaoyan.com>
 * @version v1.0
 * @date 2022/5/22 11:10
 */
@Getter
@Setter
@NoArgsConstructor
@ToString
public class UserDomain {
    /**
     * 实体标识
     */
    private String id;

    /**
     * 功能编号
     */
    private String code;

    /**
     * 功能名称
     */
    private String name;

    /**
     * parent_module_id
     */
    private String parentModuleId;

    /**
     * 层级
     */
    private Integer level;

    /**
     * 是否限额
     */
    private Boolean isQuota;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    private String createdId;

    private String updatedId;

    private Long versionId;

    private Integer deleted;



    public UserDomain(String code, String name, Boolean isQuota) {
        this.code = code;
        this.name = name;
        this.isQuota = isQuota;
    }
}

